package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务管理对象 service_details
 * 
 * @author suyabo
 * @date 2024-03-28
 */
public class ServiceDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务编号 */
    private Long id;

    /** 服务项目 */
    @Excel(name = "服务项目")
    private String name;

    /** 商户id */
    @Excel(name = "商户id")
    private Long mId;

    /** 服务分类 */
    @Excel(name = "服务分类")
    private Long typeId;

    /** 原价 (元) */
    @Excel(name = "原价 (元)")
    private Long originalPrice;

    /** 现价 (元) */
    @Excel(name = "现价 (元)")
    private Long presentPrice;

    /** 服务介绍 */
    @Excel(name = "服务介绍")
    private String introduction;

    /** 服务图片 */
    @Excel(name = "服务图片")
    private String img;

    /** 服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 删除状态 （0 正常 1删除） */
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setmId(Long mId) 
    {
        this.mId = mId;
    }

    public Long getmId() 
    {
        return mId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setOriginalPrice(Long originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public Long getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setPresentPrice(Long presentPrice) 
    {
        this.presentPrice = presentPrice;
    }

    public Long getPresentPrice() 
    {
        return presentPrice;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("mId", getmId())
            .append("typeId", getTypeId())
            .append("originalPrice", getOriginalPrice())
            .append("presentPrice", getPresentPrice())
            .append("introduction", getIntroduction())
            .append("img", getImg())
            .append("time", getTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
